﻿using System;
using System.Collections.Generic;

namespace YJKStairs.HYElevator.DataInfo
{
	internal class KindToFamily
	{
		public Dictionary<FamilyKind, string> DicFamilyName
		{
			get
			{
				return this.m_dicFamilyName;
			}
		}

		private KindToFamily()
		{
			this.initFamily();
		}

		public static KindToFamily GetInstance()
		{
			if (KindToFamily.m_KindToFamilyAndBitmap == null)
			{
				KindToFamily.m_KindToFamilyAndBitmap = new KindToFamily();
			}
			return KindToFamily.m_KindToFamilyAndBitmap;
		}

		private void initFamily()
		{
			this.m_dicFamilyName = new Dictionary<FamilyKind, string>();
			FamilyKind key;
			key.bIsFirstLayer = false;
			key.SelBalPos = BlanceWeightPos.BALBEHIND;
			key.SelElevatorType = ElevatorType.ELEVATOR;
			this.m_dicFamilyName.Add(key, "客梯_非首层");
			key.bIsFirstLayer = true;
			key.SelBalPos = BlanceWeightPos.BALBEHIND;
			key.SelElevatorType = ElevatorType.ELEVATOR;
			this.m_dicFamilyName.Add(key, "客梯_首层");
			key.bIsFirstLayer = false;
			key.SelBalPos = BlanceWeightPos.BALLEFT;
			key.SelElevatorType = ElevatorType.CARGOLIFT;
			this.m_dicFamilyName.Add(key, "货梯_非首层_平衡块侧置");
			key.bIsFirstLayer = false;
			key.SelBalPos = BlanceWeightPos.BALRIGHT;
			key.SelElevatorType = ElevatorType.CARGOLIFT;
			this.m_dicFamilyName.Add(key, "货梯_非首层_平衡块侧置");
			key.bIsFirstLayer = false;
			key.SelBalPos = BlanceWeightPos.BALBEHIND;
			key.SelElevatorType = ElevatorType.CARGOLIFT;
			this.m_dicFamilyName.Add(key, "货梯_非首层_平衡块后置");
			key.bIsFirstLayer = true;
			key.SelBalPos = BlanceWeightPos.BALLEFT;
			key.SelElevatorType = ElevatorType.CARGOLIFT;
			this.m_dicFamilyName.Add(key, "货梯_首层_平衡块侧置");
			key.bIsFirstLayer = true;
			key.SelBalPos = BlanceWeightPos.BALRIGHT;
			key.SelElevatorType = ElevatorType.CARGOLIFT;
			this.m_dicFamilyName.Add(key, "货梯_首层_平衡块侧置");
			key.bIsFirstLayer = true;
			key.SelBalPos = BlanceWeightPos.BALBEHIND;
			key.SelElevatorType = ElevatorType.CARGOLIFT;
			this.m_dicFamilyName.Add(key, "货梯_首层_平衡块后置");
			key.bIsFirstLayer = false;
			key.SelBalPos = BlanceWeightPos.BALLEFT;
			key.SelElevatorType = ElevatorType.RESLADDER;
			this.m_dicFamilyName.Add(key, "住宅梯_非首层_平衡块侧置");
			key.bIsFirstLayer = false;
			key.SelBalPos = BlanceWeightPos.BALRIGHT;
			key.SelElevatorType = ElevatorType.RESLADDER;
			this.m_dicFamilyName.Add(key, "住宅梯_非首层_平衡块侧置");
			key.bIsFirstLayer = false;
			key.SelBalPos = BlanceWeightPos.BALBEHIND;
			key.SelElevatorType = ElevatorType.RESLADDER;
			this.m_dicFamilyName.Add(key, "住宅梯_非首层_平衡块后置");
			key.bIsFirstLayer = true;
			key.SelBalPos = BlanceWeightPos.BALLEFT;
			key.SelElevatorType = ElevatorType.RESLADDER;
			this.m_dicFamilyName.Add(key, "住宅梯_首层_平衡块侧置");
			key.bIsFirstLayer = true;
			key.SelBalPos = BlanceWeightPos.BALRIGHT;
			key.SelElevatorType = ElevatorType.RESLADDER;
			this.m_dicFamilyName.Add(key, "住宅梯_首层_平衡块侧置");
			key.bIsFirstLayer = true;
			key.SelBalPos = BlanceWeightPos.BALBEHIND;
			key.SelElevatorType = ElevatorType.RESLADDER;
			this.m_dicFamilyName.Add(key, "住宅梯_首层_平衡块后置");
			key.bIsFirstLayer = false;
			key.SelBalPos = BlanceWeightPos.BALLEFT;
			key.SelElevatorType = ElevatorType.MEDICALLADDER;
			this.m_dicFamilyName.Add(key, "医梯_非首层_平衡块侧置");
			key.bIsFirstLayer = false;
			key.SelBalPos = BlanceWeightPos.BALRIGHT;
			key.SelElevatorType = ElevatorType.MEDICALLADDER;
			this.m_dicFamilyName.Add(key, "医梯_非首层_平衡块侧置");
			key.bIsFirstLayer = false;
			key.SelBalPos = BlanceWeightPos.BALBEHIND;
			key.SelElevatorType = ElevatorType.MEDICALLADDER;
			this.m_dicFamilyName.Add(key, "医梯_非首层_平衡块后置");
			key.bIsFirstLayer = true;
			key.SelBalPos = BlanceWeightPos.BALLEFT;
			key.SelElevatorType = ElevatorType.MEDICALLADDER;
			this.m_dicFamilyName.Add(key, "医梯_首层_平衡块侧置");
			key.bIsFirstLayer = true;
			key.SelBalPos = BlanceWeightPos.BALRIGHT;
			key.SelElevatorType = ElevatorType.MEDICALLADDER;
			this.m_dicFamilyName.Add(key, "医梯_首层_平衡块侧置");
			key.bIsFirstLayer = true;
			key.SelBalPos = BlanceWeightPos.BALBEHIND;
			key.SelElevatorType = ElevatorType.MEDICALLADDER;
			this.m_dicFamilyName.Add(key, "医梯_首层_平衡块后置");
		}

		private Dictionary<FamilyKind, string> m_dicFamilyName;

		public static KindToFamily m_KindToFamilyAndBitmap;
	}
}
